package com.xjrsoft.module.customer.erp_model.eRP_FinanceExpenditure.service;

import com.xjrsoft.module.customer.erp_model.eRP_FinanceExpenditure.entity.ErpFinanceexpenditure;
import com.xjrsoft.module.customer.erp_model.eRP_FinanceExpenditure.entity.ErpFinanceexpenditurebill;
import com.xjrsoft.module.customer.erp_model.eRP_FinanceExpenditure.dto.ErpFinanceexpenditureListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-09-23
 */
public interface IErpFinanceexpenditureService extends IService<ErpFinanceexpenditure> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpFinanceexpenditure> getPageList(ErpFinanceexpenditureListDto pageListDto);

	List<ErpFinanceexpenditurebill> getErpFinanceexpenditurebillByParentId(String parentId);
	String addErpFinanceexpenditure(ErpFinanceexpenditure erpFinanceexpenditure, List<ErpFinanceexpenditurebill> erpFinanceexpenditurebillList);

	boolean updateErpFinanceexpenditure(String id, ErpFinanceexpenditure erpFinanceexpenditure, List<ErpFinanceexpenditurebill> erpFinanceexpenditurebillList);
}
